
<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>

<script>
    wx.config({$arr_js});

    wx.ready(function(){

        wx.closeWindow();
    });

</script>